@@ -88,6 +88,6 @@ class User < ActiveRecord::Base |
||
| 88 | 88 |
end |
| 89 | 89 |
|
| 90 | 90 |
def undefined_agents |
| 91 |
- agents.where(type: undefined_agent_types).select('id, schedule, type as undefined')
|
|
| 91 |
+ agents.where(type: undefined_agent_types).select('id, schedule, events_count, type as undefined')
|
|
| 92 | 92 |
end |
| 93 | 93 |
end |